import request from '@/utils/request'

// 查询一班列表
export function listCls01(query) {
  return request({
    url: '/school/cls01/list',
    method: 'get',
    params: query
  })
}

// 查询一班详细
export function getCls01(id) {
  return request({
    url: '/school/cls01/' + id,
    method: 'get'
  })
}

// 新增一班
export function addCls01(data) {
  return request({
    url: '/school/cls01',
    method: 'post',
    data: data
  })
}

// 修改一班
export function updateCls01(data) {
  return request({
    url: '/school/cls01',
    method: 'put',
    data: data
  })
}

// 删除一班
export function delCls01(id) {
  return request({
    url: '/school/cls01/' + id,
    method: 'delete'
  })
}
